
public abstract class ASingleShape extends AShape {
 CartesianPoint location;

public ASingleShape(CartesianPoint location) {
	super();
	this.location = location;
}
public abstract double area();

public  double distanceTo0(){
	return this.location.distanceTo0();
}
public double distancoTo(CartesianPoint that) {
	return this.location.distanceTo(that);
}

public abstract boolean contains(CartesianPoint that);

public abstract Rectangle boundingBox();
}

